package com.example.hetong_system.model.enums;

public enum ContractStatus {
    DRAFT("DRAFT", "草稿"),
    PENDING_REVIEW("PENDING_REVIEW", "待审核"),
    REVIEW_FAILED("REVIEW_FAILED", "审核失败"),
    PENDING_CONFIRMATION("PENDING_CONFIRMATION", "待确认"),
    CONFIRMED("CONFIRMED", "已确认"),
    COMPLETED("COMPLETED", "已完成"),
    ARCHIVED("ARCHIVED", "已归档");

    private final String code;
    private final String displayName;

    ContractStatus(String code, String displayName) {
        this.code = code;
        this.displayName = displayName;
    }

    public String getCode() {
        return code;
    }

    public String getDisplayName() {
        return displayName;
    }
}